<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <!-- page title -->
        <title><?php echo $title_for_layout; ?></title>

        <!-- page css -->


        <?php echo $html->css('global'); ?>
        <?php echo $html->css('site'); ?>


        <!-- Ajax framework named "Prototype" -->
        <?php echo $javascript->link(array('prototype')); ?>
        <!--  Flash helper script -->
        <?php echo $javascript->link(array('swfobject')); ?>

    </head>
    <body>
        <div id="center_content">
            <div class="header_wrapper">
                <?php echo $flash->renderSwf('app/webroot/img/header.swf', 900, 180); ?>
                <h1>Lunch House of Ferdos</h1>


                <h6><?php echo $session->flash(); ?></h6>
                <h6>
                    <?php
                    echo $session->flash('auth');
                    //echo $this->element('loginFailed');
                    ?>
                </h6>
            </div>

            <div class="nav_1">

                <div class="nav_links">
                    <?php
                    echo $html->link('Home',
                            '/');
                    ?>

                    &nbsp;|&nbsp;

                    <?php
                    echo $html->link('Logout',
                            '/users/logout');
                    ?>

                </div>

            </div>

            <div id="main_content_container">
                <div id="leftnav"><?php echo $this->element('menu'); ?></div>
                <div id="main_body_container"><?php echo $content_for_layout ?></div>

                <!--
                <div id="right_nav_container"><?php echo $this->element('minicart'); ?></div>

                <div id="right_nav_container_ajax">So what would you like to eat today?</div>
                -->
            </div>
        </div>

        <?php
                    //For debugging purposes only
                    //echo $this->element('sql_dump');
        ?>
    </body>
</html>